package cn.itcast.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * @author yangjy
 * @version 1.0
 * @description: 也可以基于Java代码来修改日志级别，先声明一个类，然后声明一个Logger.Level的对象
 * @date 2022/9/6 16:53
 */
public class DefaultFeignConfiguration {
    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.BASIC;
    }
}
